<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Index extends MY_Controller {

    public function __construct()
    {
        parent::__construct();
        
        //Check login
        if($this->auth->is_logged_in()){
            redirect('/home');
        }
    }
    
    /**
     * Index Page for this controller.
     */
    public function index() {
        //nothing
    }

}